
all : libtraffic.so lib3rdapp.so pear_router

libtraffic.so : 
	make -C ../libtraffic

lib3rdapp.so : 
	make -C ./lib3rdapp

pear_router : pear_router.c
	gcc -o $@ $^ -I./ -L./lib3rdapp -l3rdapp -ldl -lpthread

clean:
	make -C ../libtraffic clean
	make -C ./lib3rdapp clean
	rm -rf pear_router


